/*
 * Mario.h
 *
 *  Created on: 08/01/2012
 *      Author: Graciela
 */

#ifndef MARIO_H_
#define MARIO_H_

#include "GameObject.h"
#include "../events/KeyListener.h"

class Mario: public GameObject, public KeyListener {

private:
	bool left, right;

	float vecX, vecY;
	float friction;

public:
	Mario();
	virtual ~Mario();

	void update();

	void onKeyDown(SDL_Event * event);
	void onKeyUp(SDL_Event * event);
};

#endif /* MARIO_H_ */
